#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include <QFile>
#include <QDir>
#include <QString>
#include <QStringList>
#include <QPluginLoader>
#include <QPushButton>
#include <QMessageBox>
#include <QMouseEvent>

#include "plGeneric.h"
#include "plMatrix.h"
#include "flowlayout.h"
#include "pushbutton.h"
#include "plugininfo.h"


namespace Ui {
    class MainWindow;
}

class MainWindow : public QMainWindow {
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    GenericPluginInterface *plugin;
    MatrixPluginInterface *test;
    Ui::MainWindow *ui;

    bool loadPlugins();
    QWidget *wKernel;
    FlowLayout *flKernel;

public slots:
    void pluginClick();
    void pluginRightClick();
};

#endif // MAINWINDOW_H
